<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
 
<c:set var="resourcePath" value="${applicationScope.resourcePath}" />
<c:choose>
	<c:when test="${pageContext.request.contextPath=='/'}">
		<c:set var="ctx" value="" />
	</c:when>
	<c:otherwise>
		<c:set var="ctx" value="${pageContext.request.contextPath}" />
		
	</c:otherwise>
</c:choose>
 
